__UNICODE__ equ 1 
.386
.model stdcall,flat
option casemap:none

PUBLIC create_rect



include definition.inc

;entity_rect
;x real4
;y real4
;lpNext dword
;isValid dword
;
.data



.code

create_rect PROC lpNext:DWORD,x:REAL4,y:REAL4,isValid:DWORD
	INVOKE crt_malloc,ENTITY_RECT_SIZE

	MOV EDX,x
	MOV 0[EAX],EDX
	MOV EDX,y
	MOV 4[EAX],EDX
	MOV EDX,lpNext
	MOV 8[EAX],EDX
	MOV EDX,isValid
	MOV 12[EAX],EDX
	RET
create_rect ENDP


end